#ifndef FANDETECTION_H
#define FANDETECTION_H

#define Txt_IgniterDis "Error: Igniter disconnected"
#define Txt_FanDis "Error: Fan disconnected"
#define Txt_AugerDis "Error: Auger not detected"

#define FanDetection_Enable 1

typedef enum
{
    FanError_None = 0,
    FanError_Enable,
    FanError_CooldownPeriod,

    FanError_Auger,
    FanError_Fan,
    FanError_Ignite,
}FanError_E;
extern FanError_E FanError;

// void FanDetection_Clock_1s(void);
void FanDetection_Clock(void);
void FanDetection_Init(void);
void FanDetection_Main(void);

#endif
